package com.weixing.mall.provider.service;

import com.weixing.mall.provider.api.model.vo.SysUserVo;
import com.weixing.mall.provider.model.domain.Agent;
import com.weixing.mall.provider.model.enums.PromTypeEnum;
import com.weixing.mall.provider.model.enums.TransScopeEnum;

/**
 * <p>
 * 代理商模块-代理商表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface IAgentTranlsService  {

    void transl(Agent agent, TransScopeEnum transScope, Agent parentAfter);

    /**
     * 方法描述: 代理商等级调整
     * @Author Small
     * @param agent
     * @param promType
     * @param transScope
     * @param uid
     * @Date 2019/12/19 14:47
     * @return void
    */
    void agentPromotion(Agent agent, PromTypeEnum promType, TransScopeEnum transScope, Long uid);

    void translToKefu(Agent agent, TransScopeEnum transScope, SysUserVo kefu);
}
